package day1;
import java.util.Scanner;

public class First {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double num,num1,num2,num3,num5;
        num = (9.5)*4.5-2.5*3;
        num1=45.5-3.5;
        num2=num/num1;
        System.out.println(num2);

        System.out.println("请输入一个整数");
        int number = scanner.nextInt();
        num3= (double) (number * 10 + 5) /2+3.14159;
        int num4 = (int) num3;
        System.out.println(num4);


        num5=14*60/(1.6*4.5);
        System.out.println("平均速度为:"+num5+"英里/h");


        double num6=312032486;
        num6=num6+5*365*24*60*60*((1.0/7)-(1.0/13)+(1.0/45));
        System.out.println("五年后有:"+(int)num6+"人");



    }
}

class Second{
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}

class Third{
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}
